Skip to content

Download completed export job data

Request

Download the data from a completed reporting data export job.

Octet header required

You will have to specify the header Accept: application/octet-stream when hitting this endpoint.

Requires the export_reporting_data OAuth scope.

Security
bearerAuth
Path
job_identifierstringrequired

Unique identifier of the job.

Headers
Intercom-Versionstring(intercom_version)

Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.

Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
Acceptstringrequired

Required header for downloading the export file

Value:"application/octet-stream"
Example:application/octet-stream
curl -i -X GET \
  'https://api.intercom.io/download/reporting_data/{job_identifier}' \
  -H 'Accept: application/octet-stream' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: Preview'

Responses

Export file downloaded. The CSV data is gzip-compressed and the response has a Content-Encoding: gzip header, so most HTTP clients decompress it automatically.

Headers
Content-Encodingstring

The encoding applied to the response body.

Example:"gzip"
Bodyapplication/octet-stream
string, (binary)
Response
string